

a =  [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]

def fn(a):
    return a%2 == 1

newlist = filter(fn, a)
print (newlist)
newlist = [i for i in newlist]
print(newlist)